namespace Forging2.DataBase.QID_IGDATA_ZY
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class dy_workrecord_detail
    {
        public int ID { get; set; }

        [Required]
        [StringLength(50)]
        public string WorkRecord_id { get; set; }

        [Key]
        [StringLength(50)]
        public string WorkRecordDetail_id { get; set; }

        public int SequenceNo { get; set; }

        [Required]
        [StringLength(50)]
        public string Parameter_id { get; set; }

        public DateTime WorkpieceTime { get; set; }

        public int WorkpieceHeight { get; set; }

        public int TemperatureValue { get; set; }

        public byte State { get; set; }

        public byte IsDelete { get; set; }

        public byte? HeatCount { get; set; }

        public virtual dy_plc_parameter dy_plc_parameter { get; set; }

        public virtual dy_workrecord dy_workrecord { get; set; }
    }
}
